import Vue from 'vue'


import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import * as echarts from 'echarts'
import dataV from '@jiaminghi/data-view'

import '@/styles/index.scss'
import '@/assets/fonts/font.css'


import App from './App'
import store from './store'
import router from './router'

import axios from 'axios'  // 安装axios后引入
Vue.prototype.$axios = axios  // 将axios挂载到原型上方便使用


Vue.prototype.$echarts = echarts


Vue.use(ElementUI)
Vue.use(dataV)

Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
